.class Lcom/glympse/platform/LocManager$GpsIdleTimer;
.super Lcom/glympse/platform/GRunnable;
.source "LocManager.java"


# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
    value = Lcom/glympse/platform/LocManager;
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x2
    name = "GpsIdleTimer"
.end annotation


# instance fields
.field final synthetic this$0:Lcom/glympse/platform/LocManager;


# direct methods
.method private constructor <init>(Lcom/glympse/platform/LocManager;)V
    .locals 0
    .parameter

    .prologue
    .line 712
    iput-object p1, p0, Lcom/glympse/platform/LocManager$GpsIdleTimer;->this$0:Lcom/glympse/platform/LocManager;

    invoke-direct {p0}, Lcom/glympse/platform/GRunnable;-><init>()V

    return-void
.end method

.method synthetic constructor <init>(Lcom/glympse/platform/LocManager;Lcom/glympse/platform/LocManager$GpsIdleTimer;)V
    .locals 0
    .parameter
    .parameter

    .prologue
    .line 712
    invoke-direct {p0, p1}, Lcom/glympse/platform/LocManager$GpsIdleTimer;-><init>(Lcom/glympse/platform/LocManager;)V

    return-void
.end method


# virtual methods
.method public Run()V
    .locals 2

    .prologue
    .line 717
    const-string v0, "Location timer fired"

    invoke-static {v0}, Lcom/glympse/platform/common/Helpers;->Log(Ljava/lang/String;)V

    .line 720
    iget-object v0, p0, Lcom/glympse/platform/LocManager$GpsIdleTimer;->this$0:Lcom/glympse/platform/LocManager;

    const/4 v1, 0x0

    iput-object v1, v0, Lcom/glympse/platform/LocManager;->m_oGpsIdleTimer:Lcom/glympse/platform/LocManager$GpsIdleTimer;

    .line 724
    iget-object v0, p0, Lcom/glympse/platform/LocManager$GpsIdleTimer;->this$0:Lcom/glympse/platform/LocManager;

    const/4 v1, 0x0

    iput-boolean v1, v0, Lcom/glympse/platform/LocManager;->m_fGps:Z

    .line 725
    iget-object v0, p0, Lcom/glympse/platform/LocManager$GpsIdleTimer;->this$0:Lcom/glympse/platform/LocManager;

    iget v0, v0, Lcom/glympse/platform/LocManager;->m_eLocProvider:I

    if-nez v0, :cond_1

    .line 727
    iget-object v0, p0, Lcom/glympse/platform/LocManager$GpsIdleTimer;->this$0:Lcom/glympse/platform/LocManager;

    invoke-virtual {v0}, Lcom/glympse/platform/LocManager;->StartProviderNetwork()Z

    .line 733
    :cond_0
    :goto_0
    return-void

    .line 729
    :cond_1
    const/4 v0, 0x1

    iget-object v1, p0, Lcom/glympse/platform/LocManager$GpsIdleTimer;->this$0:Lcom/glympse/platform/LocManager;

    iget v1, v1, Lcom/glympse/platform/LocManager;->m_eLocProvider:I

    if-ne v0, v1, :cond_0

    .line 731
    iget-object v0, p0, Lcom/glympse/platform/LocManager$GpsIdleTimer;->this$0:Lcom/glympse/platform/LocManager;

    invoke-virtual {v0}, Lcom/glympse/platform/LocManager;->StartProviderSkyhook()Z

    goto :goto_0
.end method
